package com.laotou99.bookManage.domain;

public class UserLogin {

    private Integer id;

    private String username;

    private String passwd;

    private String type;

    private String remark;

    public UserLogin(){};
    
    public UserLogin(String username, String passwd) { 
    	this.username = username;
		this.passwd = passwd;    	
    }
    
    public UserLogin(Integer id, String username, String passwd, String type, String remark) { 
		this.id = id;
		this.username = username;
		this.passwd = passwd;
		this.type = type;
		this.remark = remark;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd == null ? null : passwd.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}
